<%@page import="com.alibaba.fastjson.JSONObject"%>
<%@page import="weaver.hrm.User"%>
<%@page import="weaver.hrm.HrmUserVarify"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%

User user = HrmUserVarify.checkUser(request,response);
if(user!=null){
	JSONObject json = new JSONObject();
	json.put("isLogin",true);
	json.put("name",user.getLastname());
	out.print(json.toJSONString());
}
%>
